import request from '@/utils/request'

export function getMusics(params) {
  return request({
    url: '/admin/musics',
    method: 'get',
    params
  })
}

export function createMusics(params) {
  return request({
    url: '/admin/musics',
    method: 'post',
    data: params
  })
}

export function updateMusics(params) {
  return request({
    url: '/admin/musics',
    method: 'put',
    data: params
  })
}

export function deleteMusics(params) {
  return request({
    url: '/admin/musics',
    method: 'delete',
    data: params
  })
}

